package com.bill.learn.service;

import com.bill.learn.entity.Employee;
import com.bill.learn.entity.EmployeeDTO;

import java.util.List;

/**
 * @author Bill Ludwig; 2020/5/17 10:51
 */
public interface EmployeeService {

    int addEmployee(Employee employee);

    int deleteEmployee(int id);

    int updateEmployee(Employee employee);

    List<EmployeeDTO> getEmployees();

    Employee getEmployeeById(int id);
}
